<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Finance/recharge_log')}">充值记录</a></li>
			<li><a href="{:U('Finance/recharge')}">账户充值</a></li>
		</ul>
        <form class="well form-search" method="post" action="{:U('Finance/recharge_log')}">
            手机号:
            <input type="text" name="customer_mobile" style="width: 100px;" value="{$mobile}" placeholder="用户手机号">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:U('customer/index')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>客户姓名</th>
					<th>客户手机号</th>
					<th>充值金额(¥)</th>
					<th>账户余额(¥)</th>
					<th>充值时间</th>
					<th>充值类型</th>
				</tr>
			</thead>
			<tbody>
		
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td><a target="_blank" href="{:U('Customer/customer_profiles',array('customer_mobile'=>$vo['customer_mobile']))}">{$vo.customer_name}</a></td>
					<td>{$vo.customer_mobile}</td>
					<td style="text-align:right">{$vo.recharge_money}</td>
					<td style="text-align:right">{:money_number_format($vo['money'])}</td>
				    <td>{$vo['recharge_time'] || date='Y-m-d H:i:s',###}</td>
				    <td>{:getStatusValue('recharge_type',$vo['recharge_type'])}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>